<?php
namespace api\service;

use api\service\interfaces\IUserService;
use herosphp\core\Loader;
use herosphp\utils\AjaxResult;

Loader::import('api.service.interfaces.IUserService');

/**
 * user api(Service)接口实现
 * @author yangjian<yangjian102621@gmail.com>
 */
class UserService implements IUserService {

    /**
     * 注册服务
     * @param $data
     * @return mixed
     */
	//开通MPE	
    public function register($data)
    {
        return new AjaxResult(AjaxResult::OP_SUCCESS, "register successfully", $data);
    }
	//启用MPE
	public function start($data)
	{
	
	}

	//禁用MPE
	public function stop($data)
	{
	
	}

}
